package com.wingsoft.homeFlow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Wingsoft
 * @description 针对表【HOME_FLOW_SOURCE(工作流数据源)】的数据库映射
 */
@Data
@TableName(value = "home_flow_source")
public class HomeFlowSource {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("数据源名称")
    private String name;

    @ApiModelProperty("数据源类型：1-oracle，2-mysql，3-api，4-sql server，5-gauss")
    private Integer type;

    @ApiModelProperty("驱动类")
    private String driver;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("密码")
    private String password;


}